home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 3564 < prev    next >
Encoding:
Text File  |  1996-08-06  |  1.5 KB  |  47 lines

  1. Newsgroups: comp.lang.c++
  2. Path: news-relay.eworld.com!zdc!zippo!usenet
  3. From: Jim McFarland <jgm6@orkand.em.cdc.gov>
  4. Subject: Re: Java Compiler
  5. Content-Type: text/plain; charset=us-ascii
  6. Sender: usenet@news.zippo.com
  7. Content-Transfer-Encoding: 7bit
  8. Nntp-Posting-Host: 158.111.166.77
  9. Organization: The Orkand Corporation
  10. Message-ID: <DLos38.801@news.zippo.com>
  11. References: <30FD6D58.B3B@gate.net>
  12. X-Mailer: Mozilla 1.1N (Windows; I; 16bit)
  13. Mime-Version: 1.0
  14. Date: Wed, 24 Jan 1996 12:59:32 GMT
  15.  
  16. Hal Cline <winfield@gate.net> wrote:
  17. >Hello,
  18. >
  19. >I am trying to compile some java script but am having a problem with 
  20. >javac.
  21. >
  22. >The steps I take are:
  23. >
  24. >1)I launch DOS from Win95
  25. >2)go the javac.exe in the subdirectory- e:\Java\hotjava\bin
  26. >3)launch javac.exe
  27. >4)I am getting the following message:
  28. >use: javac [-g] [-0] [-debug] [-depend] [-nowarn] [-verbose] [-classpath 
  29. >path] [-nowrite] [-d dir] file.java...
  30. >
  31. >Does this make any sense to anyone?
  32. >
  33. >Please advise and email me at  winfield@gate.net
  34. >
  35. Yes, but first of all, you are in the wrong newsgroup.  Try 
  36. comp.lang.java in the future.  The message you are getting shows how to 
  37. use javac.  It is a list of command line arguments you can use with 
  38. javac.  Running javac with no arguments does nothing but display 
  39. this usage message.  You must at least give javac the name of the java 
  40. source you are compiling, i.e. "javac file.java".  You need to put the 
  41. path to javac in your path statement and call it while in the directory 
  42. where the class you are compiling is located.
  43.  
  44. Jim
  45.  
  46.  
  47.